import request from '@/utils/request.js'

// 查询边坡地位移列表
export function listSurfaceMonitor(query) {
  return request({
    url: '/humen/surfaceMonitor/list',
    method: 'get',
    params: query
  })
}

// 查询边坡地位移详细
export function getSurfaceMonitor(id) {
  return request({
    url: '/humen/surfaceMonitor/' + id,
    method: 'get'
  })
}

// 新增边坡地位移
export function addSurfaceMonitor(data) {
  return request({
    url: '/humen/surfaceMonitor',
    method: 'post',
    data: data
  })
}

// 修改边坡地位移
export function updateSurfaceMonitor(data) {
  return request({
    url: '/humen/surfaceMonitor',
    method: 'put',
    data: data
  })
}

// 删除边坡地位移
export function delSurfaceMonitor(id) {
  return request({
    url: '/humen/surfaceMonitor/' + id,
    method: 'delete'
  })
}
